<?php
/**
 * Created by PhpStorm.
 * User: shuixian
 * Date: 2019/11/20
 * Time: 18:29
 */


$goods = <<<GOODS
{"model_name_key":"question","title":"问卷调查","type":"questionnaire","re_name_key":["question"],"icon":"iconrenwu","isDelete":true,"addNumber":1,"attr":[{"title":"模板名称","type":"Input","name":"title","maxLength":4}],"data":{"title":"问卷调查"}}

GOODS;


//模块组件 后台DIY页面的左侧
return [

    [
        "title" => "业务组件",

        'type' => 'questionCompoent',

        'is_auth' => 1,

        'app_name' => 'question',

        'data' =>[

            json_decode($goods, true),

        ]
    ],
];